package com.cruise.h5.pojo.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
/**
 * <p>
 *
 * </p>
 *
 * @author cruise
 * @since 2021-04-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("b_post_file")
public class PostFile implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 唯一ID
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    /**
     * post id
     */
    @TableField("post_id")
    private String postId;
    /**
     * post 图片或者视频地址
     */
    @TableField("post_file_url")
    private String postFileUrl;
    /**
     * 文件类型0图，1视频
     */
    @TableField("post_file_type")
    private Integer postFileType;
    /**
     * 文件排序
     */
    @TableField("post_file_order")
    private Integer postFileOrder;
}

